<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>公告详情</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/static/css/weadmin.css">
    <script type="text/javascript" src="/templates/act/process-xl.js"></script>
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
    <style>
        body {
            height: auto;
        }
        .layui-container {
            padding-top: 20px;
            width: auto;;
        }
        .layui-table td {
            padding: 3px 15px;
        }

        .layui-table img {
            max-width: 100%;
        }
        #noticeTitle{
            font-size:20px;
            font-weight: bold;
            text-align: center;
            line-height: 40px;
        }
        .littleFont{
            font-size:14px;
            color:#b3b3b3;
            margin-right:20px;
            line-height: 30px;
        }
        #noticeContent{
            font-size:16px;
        }
    </style>
</head>
<body>
<div class="layui-container">
    <p id="noticeTitle"></p>
    <p style="text-align: center;">
        <span class="littleFont" id="createTime"></span><span class="littleFont" id="fromName">系统公告</span>
    </p>
    <div id="noticeContent">

    </div>
</div>

<script type="text/javascript" src="/lib/layui/layui.js"></script>
<script src="/static/js/main.js"></script>
<script>
    layui.use(['jquery','form', 'configureCom', 'configure','selectFun', 'sessionFun', 'table', 'matchDict'], function () {
        var $ = layui.jquery;
        var configure = layui.configure;
        var form = layui.form;
        var table = layui.table;
        var sessionFun = layui.sessionFun;
        var selectFun = layui.selectFun;
        var matchDict = layui.matchDict;
        var configureCom = layui.configureCom;

        //查看时 初始化表单赋值
        var noticeId = configureCom.GetQueryString('noticeId');
        configureCom.postDataAjax(configure.NOTICE_SHOW_TAIL_BY_NOTICE_ID_HTTP,{noticeId:noticeId}).then(function (res) {
            var eadit = res.sysNoticeEntity;
            $.each(eadit,function(key,value){
                $('#'+key).html(value);
            });
        });
    });
</script>
</body>
</html>